<?php
namespace app\validate;

use think\facade\Request;
use think\Validate;

class WmsProvider extends  Validate{


    protected $rule =   [

        'name'=> 'require',
        'enterprise_type'=>'require',
        'charge_person'=>'require',
        'link_mobile'=>'require',
        'cate_ids'=>'require',

        'brand_ids'=>'require',


    ];

    protected $message  =   [

        'name.require' => '名称不能为空',
        'enterprise_type.require' => '企业类型不能为空',
        'charge_person.require' => '负责人不能为空',
        'link_mobile.require' => '联系方式不能为空',
        'cate_ids.require' => '经营类型不能为空',
        'brand_ids.require' => '经营品牌不能为空',


    ];
}